import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'Login',
      component: () => import('@/views/users/Login.vue'),
    },
    {
      path: '/main',
      name: 'Main',
      component: () => import('@/views/Main.vue'),
    },
    {
      path: '/home',
      name: 'Home',
      component: () => import('@/views/Home.vue'),
    },
    {
      path: '/info',
      name: 'Info',
      component: () => import('@/views/Info.vue'),
    }
  ]
})

export default router
